package com.example.oa.dto;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 创建审批流程DTO
 * </p>
 * @author 34448
 */
public class CreateApprovalProcessDTO {

    /**
     * 流程名称
     */
    @NotBlank(message = "流程名称不能为空")
    @ApiModelProperty(value = "流程名称")
    private String processName;

    /**
     * 提交人ID
     */
    @NotNull(message = "提交人ID不能为空")
    @ApiModelProperty(value = "提交人ID")
    private Integer submitterId;

    /**
     * 审批人ID
     */
    @NotNull(message = "审批人ID不能为空")
    @ApiModelProperty(value = "审批人ID")
    private Integer approverId;

    // Getters and Setters
    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public Integer getSubmitterId() {
        return submitterId;
    }

    public void setSubmitterId(Integer submitterId) {
        this.submitterId = submitterId;
    }

    public Integer getApproverId() {
        return approverId;
    }

    public void setApproverId(Integer approverId) {
        this.approverId = approverId;
    }
}